//
//  Comman.swift
//  Weibo
//
//  Created by 5201-mac on 2017/4/18.
//  Copyright © 2017年 wlb-mac. All rights reserved.
//

import UIKit

let client_id = "550337740"
let client_scrcet = "c8a67f6a63c56e403a1c821fac42436b"
let redirect_uri = "http://itheima.com"


//尺寸相关
let ScreenWidth = UIScreen.main.bounds.width
let ScreenHeight = UIScreen.main.bounds.height

//随机颜色
func randomColor() -> UIColor {
    //设置随机颜色
    let r = CGFloat(arc4random() % 256) / 255.0
    let g = CGFloat(arc4random() % 256) / 255.0
    let b = CGFloat(arc4random() % 256) / 255.0
    let color = UIColor(red: r, green: g, blue: b, alpha: 1)
    return color
}
